﻿using System;
using YinfangWeb.Common;

namespace YinfangWeb.Model
{
	/// <summary>
	/// MerchantFile
	/// </summary>
    [Serializable]
	public class MerchantFile
	{
		/// <summary>
		/// MerchantFileID
        /// </summary>
        [FieldName("MerchantFileID")]		
		public int MerchantFileID
		{
			get;
			set;
		}
        
		/// <summary>
		/// MerchantDataID
        /// </summary>
        [FieldName("MerchantDataID")]		
		public int MerchantDataID
		{
			get;
			set;
		}
        
		/// <summary>
		/// FileState
        /// </summary>
        [FieldName("FileState")]		
		public int FileState
		{
			get;
			set;
		}
        
		/// <summary>
		/// FileType
        /// </summary>
        [FieldName("FileType")]		
		public int FileType
		{
			get;
			set;
		}
        
		/// <summary>
		/// FileName
        /// </summary>
        [FieldName("FileName")]		
		public string FileName
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegDateTime
        /// </summary>
        [FieldName("RegDateTime")]		
		public DateTime RegDateTime
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegUserID
        /// </summary>
        [FieldName("RegUserID")]		
		public int RegUserID
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegFullName
        /// </summary>
        [FieldName("RegFullName")]		
		public string RegFullName
		{
			get;
			set;
		}
        
		/// <summary>
		/// EditDateTime
        /// </summary>
        [FieldName("EditDateTime")]		
		public DateTime EditDateTime
		{
			get;
			set;
		}
        
		/// <summary>
		/// EditUserID
        /// </summary>
        [FieldName("EditUserID")]		
		public int EditUserID
		{
			get;
			set;
		}
        
		/// <summary>
		/// EditFullName
        /// </summary>
        [FieldName("EditFullName")]		
		public string EditFullName
		{
			get;
			set;
		}
        
        public MerchantFile Clone()
        {
            return (MerchantFile)this.MemberwiseClone();
        }
        
        public MerchantFile()
        {
            FileName = string.Empty;
            RegDateTime = ConvertHelper.DefaultDate;
            RegFullName = string.Empty;
            EditDateTime = ConvertHelper.DefaultDate;
            EditFullName = string.Empty;
        }
	}
}
